package cn.com.demo.microservice.anquan;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableDiscoveryClient
@EnableDistributedTransaction
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = "cn.com.demo.microservice.anquan.mapper")
public class StartProvider21AddUserApp {
    public static void main(String[] args) {
        SpringApplication.run(StartProvider21AddUserApp.class, args);
    }
}
